<!DOCTYPE html>
<html prefix="og: http://ogp.me/ns# article: http://ogp.me/ns/article#
" lang="zh_cn">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>使用iobroker快速搭建物联网应用 | vitamind3 竹里馆</title>
<link href="../../assets/css/all-nocdn.css" rel="stylesheet" type="text/css">
<link href="../../assets/css/ipython.min.css" rel="stylesheet" type="text/css">
<link href="../../assets/css/nikola_ipython.css" rel="stylesheet" type="text/css">
<meta name="theme-color" content="#5670d4">
<meta name="generator" content="Nikola (getnikola.com)">
<link rel="alternate" type="application/rss+xml" title="RSS" hreflang="zh_cn" href="../../rss.xml">
<link rel="canonical" href="https://vitamind3.gitee.io/posts/shi-yong-iobrokerkuai-su-da-jian-wu-lian-wang-ying-yong/">
<!--[if lt IE 9]><script src="../../assets/js/html5.js"></script><![endif]--><meta name="author" content="vitamind3">
<link rel="prev" href="../obsidiancang-ku-mo-ban/" title="obsidian仓库模板" type="text/html">
<link rel="next" href="../fa-bu-obsidiancang-ku-mo-ban-02ban/" title="发布obsidian仓库模板0.2版" type="text/html">
<meta property="og:site_name" content="vitamind3 竹里馆">
<meta property="og:title" content="使用iobroker快速搭建物联网应用">
<meta property="og:url" content="https://vitamind3.gitee.io/posts/shi-yong-iobrokerkuai-su-da-jian-wu-lian-wang-ying-yong/">
<meta property="og:description" content="在做物联网类项目的时候，经常会有一些需求，即是短时间内针对一个特定场景做一个小的DEMO或演示。这类任务的典型特征是时间紧、任务重、需求还挺多变，能拿到的资源（你懂的）也有限。直接从头撸代码不是不可以，但是性价比极低。在这个时候，iobroker就非常好用了。


iobroker一般是用来做智能家居，和 home assitant 一样。但是它本身强大的功能以及插件（adapter）使得我们可以">
<meta property="og:type" content="article">
<meta property="article:published_time" content="2022-02-13T23:11:00+08:00">
<meta property="article:tag" content="iobroker">
<meta property="article:tag" content="物联网">
</head>
<body>
<a href="#content" class="sr-only sr-only-focusable">跳到主内容</a>

<!-- Menubar -->

<nav class="navbar navbar-expand-md static-top mb-4
navbar-dark
bg-dark
"><div class="container">
<!-- This keeps the margins nice -->
        <a class="navbar-brand" href="../../">

            <span id="blog-title">vitamind3 竹里馆</span>
        </a>
        <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#bs-navbar" aria-controls="bs-navbar" aria-expanded="false" aria-label="Toggle navigation">
            <span class="navbar-toggler-icon"></span>
        </button>

        <div class="collapse navbar-collapse" id="bs-navbar">
            <ul class="navbar-nav mr-auto">
<li class="nav-item">
<a href="../../pages/introduction" class="nav-link">欢迎</a>
                </li>
<li class="nav-item">
<a href="../../archive.html" class="nav-link">文章归档</a>
                </li>
<li class="nav-item">
<a href="../../categories/" class="nav-link">分类</a>
                </li>
<li class="nav-item">
<a href="../../rss.xml" class="nav-link">RSS 源</a>

                
            </li>
</ul>
<ul class="navbar-nav navbar-right"></ul>
</div>
<!-- /.navbar-collapse -->
    </div>
<!-- /.container -->
</nav><!-- End of Menubar --><div class="container" id="content" role="main">
    <div class="body-content">
        <!--Body content-->
        
        
        
<article class="post-text h-entry hentry postpage" itemscope="itemscope" itemtype="http://schema.org/Article"><header><h1 class="p-name entry-title" itemprop="headline name"><a href="." class="u-url">使用iobroker快速搭建物联网应用</a></h1>

        <div class="metadata">
            <p class="byline author vcard p-author h-card"><span class="byline-name fn p-name" itemprop="author">
                    vitamind3
            </span></p>
            <p class="dateline">
            <a href="." rel="bookmark">
            <time class="published dt-published" datetime="2022-02-13T23:11:00+08:00" itemprop="datePublished" title="2022-02-13 23:11">2022-02-13 23:11</time></a>
            </p>
            

        </div>
        

    </header><div class="e-content entry-content" itemprop="articleBody text">
    <div>
<p>在做物联网类项目的时候，经常会有一些需求，即是短时间内针对一个特定场景做一个小的DEMO或演示。这类任务的典型特征是时间紧、任务重、需求还挺多变，能拿到的资源（你懂的）也有限。直接从头撸代码不是不可以，但是性价比极低。在这个时候，iobroker就非常好用了。</p>
<!-- TEASER_END -->

<p>iobroker一般是用来做智能家居，和 home assitant 一样。但是它本身强大的功能以及插件（adapter）使得我们可以很容易的把它用在一个物联网场景中。上网找智能家居开源方案挺多，但是真正好用，且在持续维护的，也就前面这两了。比如 Calaos, Domoticz 那都是多年不更新的。</p>
<p>用iobroker快速撸iot场景，消息通信主要用到2个插件，一个是 Simple-REST-api, MQTT Broker/Client 。REST API和MQTT消息都有了，还要啥自行车。后台逻辑可以通过 nodered, blockly 搞定，也是 so easy 。</p>
<p>在数据显示方面，官方自带的 vis 插件功能很强大，商用需要买license ，也不贵，建议大家支持正版。vis对显示屏的定义是采用的绝对坐标，即需要设定显示尺寸，例如 1024x768 px ，不能自动适应大小。用的时候唯一的一个小缺点是不支持自动全屏，但也不是啥大问题，自己撸了个js小脚本就解决了。</p>
<p>如果不想用vis，仍然有其他的免费adapter可以用，例如：lovelace, iQControl, jarvis</p>
<p>下面是一些界面截屏示例。</p>
<p><img alt="" src="../../images/iobroker.0.2604293050008112.png"><img alt="" src="../../images/iobroker.0.5892166785340108.png"><img alt="" src="../../images/iobroker.0.09513889563336378.png"></p>
</div>
    </div>
    <aside class="postpromonav"><nav><ul itemprop="keywords" class="tags">
<li><a class="tag p-category" href="../../categories/iobroker/" rel="tag">iobroker</a></li>
            <li><a class="tag p-category" href="../../categories/wu-lian-wang/" rel="tag">物联网</a></li>
        </ul>
<ul class="pager hidden-print">
<li class="previous">
                <a href="../obsidiancang-ku-mo-ban/" rel="prev" title="obsidian仓库模板">上一篇文章</a>
            </li>
            <li class="next">
                <a href="../fa-bu-obsidiancang-ku-mo-ban-02ban/" rel="next" title="发布obsidian仓库模板0.2版">下一篇文章</a>
            </li>
        </ul></nav></aside></article><!--End of body content--><footer id="footer">
            Contents ©         <a href="https://vitamind3.gitee.io/">vitamind3</a> - Powered by         <a href="https://getnikola.com" rel="nofollow">Nikola</a>         
            
            
        </footer>
</div>
</div>


        <script src="../../assets/js/all-nocdn.js"></script><script>
    baguetteBox.run('div#content', {
        ignoreClass: 'islink',
        captions: function(element){var i=element.getElementsByTagName('img')[0];return i===undefined?'':i.alt;}});
    </script><script>
var _hmt = _hmt || [];
(function() {
  var hm = document.createElement("script");
  hm.src = "https://hm.baidu.com/hm.js?09027755f7478e129aec2cdd3acf9a4c";
  var s = document.getElementsByTagName("script")[0]; 
  s.parentNode.insertBefore(hm, s);
})();
</script>
</body>
</html>
